package cn.xz.nearby.mapper;

import cn.xz.nearby.entity.UserLocation;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserLocationRepository extends MongoRepository<UserLocation,String> {
    UserLocation findByUserId(Long userId);
}
